package routers

import (
	"github.com/gin-gonic/gin"
	"go_anime_picture_api/controllers"
)

func Setup(e *gin.Engine) {

	e.GET("/rebuild", controllers.RebuildPicInfos)

	e.GET("/anime", controllers.AnimePicRandom)
	mltd := e.Group("/mltd")
	{
		mltd.GET("/card", controllers.MLTDCardRandom)
		mltd.GET("/big-card", controllers.MLTDBigCardRandom)
		mltd.GET("/bg", controllers.MLTDBgRandom)
	}
}
